package com.springel;

import org.junit.Test;
import org.springframework.expression.Expression;
import org.springframework.expression.ExpressionParser;
import org.springframework.expression.spel.standard.SpelExpressionParser;

public class SpelHello {


    @Test
    public void test2(){
        ExpressionParser expressionParser = new SpelExpressionParser();
        Expression exp = expressionParser.parseExpression("'helllo ' + 'world'");
        System.out.println("message:" + exp.getValue());
    }
}